import Vue from 'vue';
import App from './App.vue';
import router from './router';
// import store from './store';
import GlobalError from './utils/error';
import http from './utils/http';
import xss from './utils/xss';
import 'lib-flexible';
import 'element-ui/lib/theme-chalk/base.css';
// collapse 展开折叠
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';
import { Carousel,CarouselItem,Backtop } from 'element-ui';
Vue.component(CollapseTransition.name, CollapseTransition);
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Backtop);
Vue.use(GlobalError);
Vue.use(xss);

Vue.prototype.$http = http;
Vue.config.productionTip = false;
Vue.prototype.$Bus = new Vue();

new Vue({
  router,
  // store,
  render: h => h(App)
}).$mount('#app');
